<?php

defined ('DB_SERVER') ? null : define('DB_SERVER', 'localhost'); //Your Database Host!
defined ('DB_USER') ? null : define('DB_USER', 'adveutry_tuser'); //Your Database Username!
defined ('DB_PASS') ? null : define('DB_PASS', '^C9G8A=BI6WQ'); //Your Database Password!
defined ('DB_NAME') ? null : define('DB_NAME', 'adveutry_translations'); //Your Database Name!

$db = new PDO('mysql:host='.DB_SERVER.';dbname='.DB_NAME.';charset=utf8', DB_USER, DB_PASS, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'"));
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

/*function CleanText($value){
return mysql_real_escape_string(htmlentities(stripslashes($value))); //Strips the code of anything that a hacker might try to do ;) Think smart!
}*/

?>